A constructor that constructs mask from PolygonF object, where you can define the mask tone from 0 (black) to 255 (white).
Constructor(The polygonProvide parameter has the signature of Object to not create circular dependencies.
Note if you send PolygonF object from older version of TypeLibF than 2.2 then you will get crash.